﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Windows.Forms;

namespace ACSR.SSMS.Core
{
    [ComVisible(true)]
    public class ControlContext : IControlContext
    {
        Control _control;
        IntPtr _handle;

        public IntPtr Handle
        {
            get
            {
                return _handle;
            }
        }
        public ControlContext(Control control)
        {
            _control = control;
            _handle = _control.Handle;
        }
    }
}
